﻿CREATE TABLE [dbo].[BoardMaterial] (
    [Id]                 UNIQUEIDENTIFIER NOT NULL,
    [Name]               NVARCHAR (255)   NULL,
    [Thickness]          FLOAT (53)       NULL,
    [LastModifiedTime]   DATETIME         NULL,
    [BoardTypeID]        UNIQUEIDENTIFIER NULL,
    [LastModifiedUserID] UNIQUEIDENTIFIER NULL,
    PRIMARY KEY CLUSTERED ([Id] ASC),
    CONSTRAINT [FKB692E0BD11E65B0E] FOREIGN KEY ([LastModifiedUserID]) REFERENCES [dbo].[UserProfile] ([ID]),
    CONSTRAINT [FKB692E0BD7DA27A5] FOREIGN KEY ([BoardTypeID]) REFERENCES [dbo].[BoardType] ([Id]),
    UNIQUE NONCLUSTERED ([Name] ASC)
);

